package com.yishan.service;

import com.yishan.entity.SysOrg;
import com.yishan.entity.SysUser;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Map;

public interface FlowService {
    void deployment(File file) throws FileNotFoundException;

    void deleteProcessDefinition(String processDefinitionId);

    /**
     * 启动流程
     * @param processCode
     * @return
     */
    String startProcess(String processCode, Map<String,Object> variables);

    String newGroup(SysOrg sysOrg);

    String newUser(SysUser sysUser);
}
